From 8e0ba5bb3eacfdfe60dd089ed0e6bbe9350414f3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 28 Jun 2014 22:38:13 -0400 Subject: [PATCH] GtkColorEditor: Initialize the allocation x/y --- gtk/gtkcoloreditor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c index 3403d3d88d..c647b8c5f2 100644 --- a/gtk/gtkcoloreditor.c +++ b/gtk/gtkcoloreditor.c @@ -245,6 +245,8 @@ get_child_position (GtkOverlay *overlay, gtk_widget_get_preferred_size (widget, &req, NULL); + allocation->x = 0; + allocation->y = 0; allocation->width = req.width; allocation->height = req.height; -- 2.30.2